package cn.sciento.farm.devicemanager.api.jsonrpc;

import cn.sciento.farm.devicemanager.dao.entity.ResAlarmPerson;
import cn.sciento.farm.devicemanager.dao.model.ResponseMessage;
import cn.sciento.farm.devicemanager.dao.model.filter.AlarmLogFilter;
import com.googlecode.jsonrpc4j.JsonRpcMethod;
import com.googlecode.jsonrpc4j.JsonRpcService;

/**
 * 报警人员管理
 */
@JsonRpcService(value = "rpc/hardware.alarm.person")
public interface AlarmPersonJsonApi {

    ResponseMessage create(ResAlarmPerson resAlarmPerson);

    ResponseMessage update(ResAlarmPerson resAlarmPerson);

    ResponseMessage delete(Long id);

    ResponseMessage list(Integer areaId);

    ResponseMessage get(Long id);

}
